home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1994 September / macformat-004.iso / Shareware City / Graphics / VideoToolbox ƒ / Advice next >
Encoding:
Text File  |  1994-07-07  |  18.3 KB  |  298 lines  |  [TEXT/ttxt]

  1. VideoToolbox: Advice
  2. June 23, 1994
  3.  
  4. Advice to beginners,
  5.  
  6. If you want to do vision experiments on your Macintosh computer, and haven’t programmed a Mac before, there are various things you should get for yourself. I’ve listed what I consider essential. The stuff I use. There are lots of baby books that hold your hand while you learn, but the ones that I’ve looked at weren’t helpful for setting up vision experiments. They’re oriented towards producing Mac-like applications with the right look and feel, which is unimportant when the experimenter is the only person that will ever run the program. Be warned that the bible, Inside Macintosh, is intimidating at first. The classic comment about Inside Mac is that you have to have read the rest to understand any part. Fortunately, the new edition, called the New Inside Macintosh--of which only part has been published--is much more readily assimilable. Mac programming is tough going at first, but I’ve come to like it, as the Apple routines are generally intelligent solutions to complicated problems. Anyway, by looking at the sources for the various demos in the VideoToolbox you should be able to get going much more quickly than I did. Good luck. -Denis Pelli
  7.  
  8. If you like this file, you may also want to read Mike Kelly’s help file “csmp-faq-1.txt”, which answers some frequently asked questions for the Mac programming section of UseNet. It’s in the Info-Mac archives in /tech.
  9.  
  10. ESSENTIAL BOOKS AND SOFTWARE:
  11.  
  12. The C Programming Language, Second Edition
  13. Kernighan and Ritchie
  14. Prentice Hall, 1988
  15. This book describes the new Standard C. Most new C compilers are 99% compliant.
  16.  
  17. THINK C 7
  18. A C compiler and programming environment (combined editor, linker, librarian, loader). It’s the best that I’ve ever used on any computer. For a little more money you can get Symantec C++, which includes THINK C 7 as part of the package, but the VideoToolbox makes no use of C++.
  19. Symantec Corporation
  20. 10201 Torre Ave
  21. Cupertino, CA 95014
  22. (800) 800-1438 fax
  23. (800) 441-7234
  24. You can use ftp to download Symantec's updates from:
  25. ftp://ics.uci.edu:mac/think-c/symantec/
  26.  
  27. Metrowerks CodeWarrior C Compiler on a CD
  28. Until now the main alternative to THINK C has been Apple’s MPW C, which is slow, and clumsy, at least in comparison to THINK C. (The only thing I use MPW for is CompareFiles.) However, MetroWerks released a beta version of their "Code Warrior" C compiler in January, 1994, and the 1.0 release in May, 1994. Apparently they have copied everything that Symantec did right, and then added their own improvements. There are three versions. Bronze $199 generates 680x0 code; Silver $299 generates PowerPC code; Gold $399 generates both.
  29. Questions:
  30. Metrowerks Inc.
  31. (514)-747-5999
  32. (514)-747-2822 fax
  33. metro@info.uqam.ca
  34. Order from APDA (address below) or from BookMasters:
  35. EDUCATIONAL PRICES:
  36. Gold    $99
  37. Silver  $79
  38. Bronze  $59
  39. $15 shipping and handling for US orders. You must fax BookMasters proof that you are either a student or officially affilliated with a University. 
  40. BookMasters
  41. 1-800-247-6553
  42. (419) 281-6883 fax
  43.  
  44. THINK Reference 2
  45. Also from Symantec. This program acts as an online reference manual to the information in the Inside Mac books, volumes I-VI. Highly recommended. $129
  46.  
  47. Numerical Recipes C Set for Macintosh, 2nd ed. 
  48. (textbook, example book, and disk) $90
  49. Useful book and mathematical library in source form. You can read the code, understand what’s going on, and modify it if necessary. From:
  50. Cambridge University Press
  51. 40 West 20th Street
  52. New York, NY 10010-4211
  53. (800)-431-1580
  54. 914-937-9600
  55.  
  56. Inside Macintosh: Volumes I to VI, and X-Reference (i.e. index)
  57. New Inside Macintosh: Files, Memory, Processes, Imaging, ...
  58. Designing Cards and Drivers, 3rd edition
  59. from:
  60. Addison-Wesley
  61. (800)-447-2226
  62. or APDA
  63. You’ll need these books. Apple is in the process of issuing the new edition of Inside Mac. So far they’ve only issued a few volumes. The old edition had numbered volumes--I to VI--the new edition has named volumes, e.g. Files. The new edition is significantly easier to use than the original and includes examples in C, not just Pascal.
  64.  
  65. MAGAZINES AND CATALOGS:
  66.  
  67. MacWEEK
  68. Customer Service Department
  69. P.O. Box 5821
  70. Cherry Hill, NJ 08034
  71. (609)-428-5000
  72. Try to get a free subscription.
  73.  
  74. MacTech Magazine
  75. PO Box 250055
  76. Los Angeles, CA 90025-9555
  77. 310-575-4343
  78. 310-575-0925 fax
  79. custservice@xplain.com
  80. The only Mac magazine for programmers.
  81.  
  82. TidBITS
  83. A free weekly email newsletter about Macintosh software and hardware published by Adam and Tonya Engst. To subscribe send email to info@tidbits.com
  84.  
  85. APDA
  86. Apple Programmers and Developers Association
  87. Apple Computer, Inc.
  88. 20525 Mariani Avenue, M/S 33G
  89. Cupertino, CA 95014-6299
  90. 1-800-282-2732 (US)
  91. 1-800-637-0029 (Canada)
  92. 716-871-6555
  93. 716-871-6511 FAX.
  94. APDA@applelink.apple.com
  95. Get an APDA catalog, since some Apple software and documentation is ONLY available from them.
  96.  
  97. develop: The Apple Technical Journal (with the Developer Essentials CD-ROM),
  98. $27 in US, $47 outside US. 
  99. APDA.
  100. The develop magazine has four issues per year. It has lots of examples and helpful in-depth explanations. Useful.
  101.  
  102. Subscription to the Developer Mailing. Each month you receive a newsletter and a CD. Doesn't include ETO, but I think it does include the develop magazine.
  103. $250/year plus shipping
  104. APDA
  105.  
  106. Essential Tools and Objects CD-ROM (also called “ETO”)
  107. $1,300 for first year, $300/year thereafter.
  108. APDA
  109. I don’t subscribe to this--it’s too expensive--but you may want to. It’s updated several times a year and has the latest versions of Apple’s development tools, MPW, C, etc. Doesn't include the Developer Mailings.
  110.  
  111. ONLINE SERVICES:
  112.  
  113. UseNet
  114. The comp.sys.mac.programming UseNet news group has knowledgeable active discussion. Experts at Apple often jump in with helpful answers to thorny questions. You can participate in UseNet from your your Mac using telnet (NCSA Telnet and MacIP are both free) to log into a local unix system. Or you might use Nuntius (available by ftp from the Info-Mac archive) if you can get tcp/ip access to a net news server.
  115.  
  116. CompuServe Information Service
  117. P.O. Box 20212
  118. Columbus, OH 43220
  119. (800)-848-8199
  120. If you can’t join UseNet, then you may want to join CompuServe, to follow the discussions and post your seemingly insoluble Macintosh problems on the bulletin boards, MacPro, MacDev, or Symantec:THINK C, to get free advice from experts. Buy the program Navigator from CompuServe, as it makes CompuServe much easier to use. You’ll need a modem.
  121.  
  122. AppleLink
  123. (408) 974-3309
  124. ALINK.MGMT@applelink.apple.com
  125. AppleLink is Apple’s bulletin board and email system. It provides some system software updates and technical information. Most companies that make Macintosh products have AppleLink accounts, and you can use the online directory to get their email addresses. You’ll need a modem.
  126.  
  127. Anyone can submit a bug report to APPLE.BUGS@Applelink.Apple.com. They prefer, but don’t require, a certain format that is produced automatically by a hypercard stack called Apple Bug Reporter, which can be downloaded from:
  128. ftp://ftp.apple.com/dts/mac/bugs
  129.  
  130. SOFTWARE ARCHIVES ACCESSIBLE THROUGH THE INTERNET:
  131.  
  132. "Anarchie" is a great new program that makes it easy to find and download software available on public internet sites. You tell it the name (possibly incomplete) of the program you want. It consults an archie server and tells you from which sites it's available (with dates and sizes) and you can just double click any line to download the file. Here are two sites from which you can download Anarchie:
  133. ftp://ftp.cac.psu.edu/pub/mac/comm/anarchie/Anarchie110.hqx
  134. ftp://ftp.halcyon.com/pub/tidbits/tisk/mactcp/ftp/anarchie-110.hqx
  135.  
  136. The Internet Starter Kit for Macintosh, by Adam C. Engst.
  137. This book is pretty good and includes a free disk that has MacTCP (a $50 value) and lots of other important utilities for accessing the Internet.
  138. Published by Hayden Books. ISBN 1-56830-064-6.
  139. $29.95 USA $37.95 Canada. (Mention the magic code "310D" for a 20% discount.)
  140. Hayden Books
  141. 201 West 103rd Street
  142. Indianapolis, IN 46290 USA
  143. 800/428-5331 orders
  144. 317/581-3500 orders
  145. 800/448-3804 fax
  146. 317-581-3550 fax
  147. orders@hayden.com
  148.  
  149. FTP is a file transfer protocol used to transfer files across the Internet. FTP programs typically have very rudimentary user interfaces. Some of the bigger ftp servers are now also Gopher servers. Gopher (developed at University of Minnesota, originally for a campus-wide information server)  is sort of a superset of ftp that provides a quite good user interface and allows access to a wide variety of Internet resources. Public ftp servers require that you log in as “anonymous and will accept any password, but it is considered a courtesy to supply your electronic address as the password. If for some reason you can’t use ftp or gopher, some of the sites will help you out by allowing you to request transmission of files to you by email.
  150.  
  151. There are two ways to use ftp from your Mac. The traditional, indirect, approach is to remotely log into a mainframe (preferably one running unix), use its ftp facilities to move the file to it, and then download the file from it. The modern, direct, approach requires that your AppleTalk network have a gateway to the Internet, so that you can run an ftp program on your Mac (provided you have Apple’s MacTCP init, available from APDA; many universities have site licenses). I recommend Anarchie or TurboGopher for anonymous ftp downloading and Fetch 2.1 for general ftp uploading and downloading. Both are free from the Info-Mac archive.
  152.  
  153. Info-Mac archives  (VideoToolbox is in info-mac/Development/SourceCode/)
  154. ftp: sumex-aim.stanford.edu [36.44.0.6]
  155. gopher: Info-Mac Archives
  156. email: send a query to Info-Mac-Request@sumex-aim.stanford.edu
  157. This is the largest collection of public domain Mac software. Unfortunately in 1994 user demand has overwhelmed the resources and it is now very difficult to access. There are many "mirror" sites all over the world that keep more-or-less up-to-date copies of Info-Mac and they are usually much easier to access. Here are a few that you might try:
  158. amug.org:pub/ftp1/info-mac
  159. wuarchive.wustl.edu:systems/mac/info-mac
  160. src.doc.ic.ac.uk:packages/mac/info-mac
  161.  
  162. MacPsych archives
  163. ftp: ftp.stolaf.edu [130.71.128.9] (look in /pub/macpsych/). 
  164. gopher: St. Olaf University/Network Resources/St. Olaf Mailing Lists/MacPsych/
  165. email: send a query to macpsych-request@stolaf.edu
  166.  
  167. Apple archives
  168. ftp: ftp.apple.com [130.43.2.3] (look in /dts/mac/).
  169. (ftp.apple.com is an alias for bric-a-brac.apple.com.)
  170.  
  171. SOFTWARE ARCHIVES ON CD-ROM:
  172.  
  173. Info-Mac CD-ROM II (May '93) $49.95 plus shipping.
  174. A May ‘93 snapshot of the info-mac archive on a CD-ROM containing about 600 MB. (Includes the February 1993 edition of the VideoToolbox.)
  175. Pacific HiTech, Inc.
  176. 4760 Highland Drive, Suite 204
  177. Salt Lake City, Utah 84124
  178. 800-765-8369 (orders only)
  179. 801-278-2042
  180. 801-278-2666 (fax)
  181. 71175.3152@compuserve.com
  182.  
  183. Apprentice $35 (includes shipping in US and Canada)
  184. CD-ROM of 450 MB of Mac source code and utilities. I haven't received mine yet, but the price is right. (Includes the May 1994 edition of the VideoToolbox). 
  185. Celestin Company
  186. 1152 Hastings Avenue
  187. Port Townsend, WA  98368
  188. 800 835 5514
  189. 206 385 3767
  190. 206 385 3586 fax
  191. celestin@pt.olympus.net
  192.  
  193. EMAIL:
  194.  
  195. Your email service ought to have a gateway to Internet; complain if it doesn’t. Here’s how to send Internet mail to various commercial services when you only know the person’s service-specific address:
  196. America Online: “Adam Engst” becomes “adamengst@aol.com”.  
  197. AppleLink: “DENIS” becomes “DENIS@applelink.apple.com”. 
  198. BIX: “user” becomes “user@dcibix.das.net”.
  199. CompuServe: “1234,567” becomes “1234.567@compuserve.com”. Note: “,” becomes “.”.
  200. GEnie: “username” becomes “username@genie.geis.com”.
  201. MCI: Joe Doe 123-4567 becomes “Joe_Doe@mcimail.com” or “1234567@mcimail.com”.
  202. Prodigy: user ID “abcd12a” becomes “abcd12a@prodigy.com”
  203.  
  204. HARDWARE:
  205.  
  206. In my experience a plain old (now obsolete) Mac II is fast enough for many things, but faster Macs can show bigger movies. If you’re going to synthesize images then make sure your computer has a floating point chip. So far we’ve never needed more than 8-bit color, making the obsolete Apple Toby and TFB video cards our favorites, because they work perfectly (unlike Apple’s 1992 crop of video cards--see Video synch), and they’re available for $90 from Shreve Systems (800-227-3971), but, of course, they don’t support the latest large monitors. We also like the built-in video on all of Apple’s newer computers because you can load images into them at extremely high speeds (try the demo TimeVideo), since they bypass the NuBus bottleneck. We use the mouse or keyboard to collect observer responses. We’ve bought a few Data Translation A/D boards to automate our photometry, moving the cards from machine to machine as needed, but they are probably not the best brand.
  207.  
  208. We're just starting to use a Power Mac 6100/60av. It appears to be excellent for vision research, even in emulation mode. Its university price is about $2,000, and its two built-in video ports are very fast; as fast as the fastest Quadra. We don't need any slots. If you want slots, I'd suggest waiting until 1995 when Power Macs with PCI slots will appear. The PCI bus is fast and is fast becoming the bus of choice for Intel-based computers, so there will soon be a huge array of cards to choose from. (Making a PCI card compatible with both PowerPC and Intel processors will require a bigger "plug and play" ROM, but it seems likely that most manufacturers will take the trouble.)
  209.  
  210. You’ll want a fast CD-ROM drive, mainly to read Apple’s Developer Essentials CD-ROM disk.
  211.  
  212. You’ll need a modem to call CompuServe or AppleLink, and to dial in from home and elsewhere using AppleTalk Remote Access (ARA). You can now buy v32bis (i.e. 14,400 baud) modems for several hundred dollars. Phone lines are still expensive though, so you may want to cost-share by using a shared modem and a single phone line, in which case you'll want to devote an old Mac or buy an AppleTalk Remote Access server to connect the modem to your AppleTalk network.
  213.  
  214. APS Turbo DAT $1,399
  215. APS Technologies
  216. 6131 Deramus
  217. PO Box 4987
  218. Kansas City, MO 642120=0087
  219. (800)-354-1213
  220. 816-483-6100
  221. 816-483-3077 fax
  222. My department uses a single DAT tape drive (with compression, from APS) and the Retrospect program to backup dozens of Macs every night automatically. We’re very happy with it. Retrospect maintains a historical backup so you can go back to older versions of your data, many backups ago. Get a sufficiently large-capacity tape drive so that you can do unattended incremental backups without having to change the tape.
  223.  
  224. Moustrak Pad (large 9”x11”, blue or gray). One for each Mac. You really need this. $9
  225.  
  226. Chip Merchant
  227. 9285 Chesapeake Drive
  228. San Diego, CA 92123
  229. (619)-268-4774
  230. (619)-268-0874 fax
  231. At $30 per megabyte it’s worth buying enough memory to take your computer up to at least 8 MB. (To show movies, we've taken several of our computers up to 24 or 40 MB.) This outfit has good prices.
  232.  
  233. MONITORS:
  234. We’ve done nearly all our research using Apple’s High Resolution Monochrome monitors, which are inexpensive and adequate, though one could wish for higher luminance (100 cd/m^2 peak when new), better high voltage regulation, and dc coupling instead of dc restoration. I suspect that a color monitor might be better regulated and might be excellent used as a monochrome monitor. Use with the ISR Video Attenuator would require that you: 1. use only the green channel, or 2. build a video amplifier to drive all three channels from the single output of the video attenuator, or 3. snip two of the 75 ohm termination resistors inside the monitor and tie all three channels together.
  235.  
  236. I know very little about color monitors, but people keep asking me to recommend one. Tom Robson of Cambridge Research Systems gave me a brochure for what appears to be a rather nice color monitor:
  237. Sony 20-inch Trinitron Multiscan GDM-2038
  238. field rate of 50 to 160 Hz
  239. about 160 cd/m^2
  240. $2,500
  241.  
  242. RECOMMENDED:
  243. (The free & shareware stuff is available from Info-Mac or CompuServe or both. You can use Anarchie to quickly search most ftp sites in the world. To search Compuserve use their “GO MACFF” command.)
  244.  
  245. Anarchie - quickly find a public-domain file anywhere in the world. Free.
  246. ApplWindows - INIT helps you go quickly go to any window of any application. Free.
  247. ARA Commander - streamlines your use of Appletalk Remote Access. Shareware.
  248. ATM 3.6 - Adobe Type Manager, $7.50 from Adobe at 800-521-1976 x4400. 
  249. Canvas - drawing figures that aren’t graphs. (Ted Adelson convinced me.)
  250. Conflict Catcher - my favorite INIT manager. $30?
  251. Disinfectant - remove viruses. This is the best. Free.
  252. DocuComp II - compare versions of a manuscript. $100?
  253. DOS Mounter Plus - read DOS floppies with the same convenience as Mac floppies.
  254. EndNote Plus & EndLink - download references from DIALOG & stick ‘em in papers
  255. Excel - massage data before plotting it.
  256. Fetch - ftp uploading and downloading. Free.
  257. Kaleidagraph or DeltaGraph Pro or CricketGraph III - plot data. 
  258. Klutz - view the contents of the clut (Color Lookup Table). Free.
  259. MacsBug - low-level debugger from Apple. Free.
  260. MacTCP - required by most ftp programs. $100 from APDA.
  261. Mathematica - modeling.
  262. MathType - create equations for use in any word processor, especially Word. $70?
  263. MATLAB - analyze data and filter images (crude but fast). $$$
  264. Now Up To Date - first appointment calendar (and to-do list) that I like.
  265. Now Utilities - includes Super Boomerang. Helpful.
  266. On Location - lightning-fast searches by content. Helpful.
  267. PopChar - shows all the characters in the current font. Free.
  268. Programmer’s Key - use your keyboard’s power key to invoke the debugger. Free.
  269. QuickDEX II - like a RoloDEX, keeps addresses and phone numbers. Lightning fast.
  270. RAMDoubler - makes it appear that you have twice the RAM memory. $99
  271. ResEdit CODE editor - free from ftp.apple.com:/dts/mac/tools/resedit/
  272. Retrospect & Retrospect Remote 10-pack - best backup program. $139 & $139
  273. SCSIProbe - mount and unmount SCSI disks. Free.
  274. SuperClock! - time of day. Free.
  275. Synchronize! - merge updates of folders on different computers. $30?
  276. System Errors 7.01- explains all the Systems errors. Free. 
  277. TurboGopher - gopher and anonymous ftp downloading. Free from Info-Mac archive. 
  278. Vantage - word (un)wrapping and quote (un)curling. $90 Preferred Publishers.
  279. Word - only word processor fully compatible with MathType and DocuComp.
  280.  
  281. ADDRESSES:
  282.  
  283. buy Vantage:
  284. Preferred Publishers, Inc.
  285. 5100 Poplar Ave., Suite 617
  286. Memphis, TN 38137
  287. (800) 446-6393.
  288. (901) 683-3383
  289.  
  290. buy MATLAB:
  291. The MathWorks, Inc.
  292. 24 Prime Park Way
  293. Natick, MA  01760
  294. Phone: 508-653-1415
  295. FAX: 508-653-2997
  296. info@mathworks.com - Sales, pricing, and general information
  297.  
  298.